package nl.saxion.security.event;

import java.util.HashMap;
import java.util.Map;

public class Event {

	private String eventName;
	
	private Map<String,Object> arguments;
	
	public Event(String e)
	{
		eventName = e;
		arguments = new HashMap<String, Object>();
	}
	
	public Object getArgument(String key)
	{
		return arguments.get(key);
	}
	
	public void setArgument(String key, Object value)
	{
		arguments.put(key, value);
	}

	public String getEventName() {
		return eventName;
	}
	
}
